package org.zhadoop.stream.cql.semanticanalyzer.parser.visitor;

import org.zhadoop.stream.cql.semanticanalyzer.parser.CQLParser.BitExpressionContext;
import org.zhadoop.stream.cql.semanticanalyzer.parser.context.ExpressionBetweenMaxValueContext;

/**
 * between max value语法遍历
 * @author zwd
 *
 */
public class ExpressionBetweenMaxValueVisitor extends AbsCQLParserBaseVisitor<ExpressionBetweenMaxValueContext>{

	private ExpressionBetweenMaxValueContext context = null;
	
	public ExpressionBetweenMaxValueVisitor() {
		context = new ExpressionBetweenMaxValueContext();
	}
	@Override
	protected ExpressionBetweenMaxValueContext defaultResult() {
		return context;
	}
	
	@Override
	public ExpressionBetweenMaxValueContext visitBitExpression(BitExpressionContext ctx) {
		BitExpressionVisitor visitor = new BitExpressionVisitor();
        context.setExpression(visitor.visit(ctx));
        return context;
	}
	
}
